package com.sfeir.client.service;

import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sfeir.shared.Level;

public interface AppServiceAsync {

	void getLevels(AsyncCallback<List<Level>> callback);

	void getUserLevels(AsyncCallback<List<Map<String, Object>>> callback);

	void saveScore(int levelOrder, int score, AsyncCallback<Integer> callback);

	void getNextToBeat(int level, AsyncCallback<List<Map<String, Object>>> callback);
	
	public void getNickname(AsyncCallback<String> callback);
	
	public void getLogoutUrl(AsyncCallback<String> callback);

}
